Skip to contentSkip to conversation

AMDGPU and display fails after resume from suspend

Bug 111848 [email protected] 1 participant 21 messages Sep 28, 2019 – Nov 19, 2019

lore
Share & tools
lore
#0 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=111848

Bug ID: 111848
Summary: AMDGPU and display fails after resume from suspend
Product: DRI
Version: unspecified
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: NEW
Severity: normal
Priority: not set
Component: DRM/AMDgpu
Assignee: [email protected]
Reporter: [email protected]

Sometimes after my machine resumes from suspend my display stays off with no signal, and USB keyboard (Num lock) and mouse doesn't react.

This time I managed to SSH into the machine and gather some logs after it failed resuming.

I have experienced this with different kernels and under different Linux operating systems, like Debian and Gentoo, but it is not happening often enough for me to sense a pattern.

I will attach log files to the best of my abilities according to:
https://amdgpu-install.readthedocs.io/en/latest/install-bugrep.html

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#1 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=111848

--- Comment #1 from Martin Jørgensen <[email protected]> --- Created attachment 145563
--> https://bugs.freedesktop.org/attachment.cgi?id=145563&action=edit
dmesg output after wakeup

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#2 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=111848

--- Comment #2 from Martin Jørgensen <[email protected]> --- Created attachment 145564
--> https://bugs.freedesktop.org/attachment.cgi?id=145564&action=edit
basic info

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#3 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=111848

--- Comment #3 from Martin Jørgensen <[email protected]> --- Created attachment 145565
--> https://bugs.freedesktop.org/attachment.cgi?id=145565&action=edit
demidecode output

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#4 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=111848

--- Comment #4 from Martin Jørgensen <[email protected]> --- Created attachment 145566
--> https://bugs.freedesktop.org/attachment.cgi?id=145566&action=edit
lsinitramfs output

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#5 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=111848

--- Comment #5 from Martin Jørgensen <[email protected]> --- Created attachment 145567
--> https://bugs.freedesktop.org/attachment.cgi?id=145567&action=edit
lshw log

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#6 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=111848

--- Comment #6 from Martin Jørgensen <[email protected]> --- Created attachment 145568
--> https://bugs.freedesktop.org/attachment.cgi?id=145568&action=edit
lsmod amdgpu

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#7 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=111848

--- Comment #7 from Martin Jørgensen <[email protected]> --- Created attachment 145569
--> https://bugs.freedesktop.org/attachment.cgi?id=145569&action=edit
lspic -nn output

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#8 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=111848

--- Comment #8 from Martin Jørgensen <[email protected]> --- Created attachment 145570
--> https://bugs.freedesktop.org/attachment.cgi?id=145570&action=edit
lspci -vnn output

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#9 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=111848

--- Comment #9 from Martin Jørgensen <[email protected]> --- Created attachment 145571
--> https://bugs.freedesktop.org/attachment.cgi?id=145571&action=edit
modinfo amdgpu output

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#10 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=111848

--- Comment #10 from Martin Jørgensen <[email protected]> --- Created attachment 145572
--> https://bugs.freedesktop.org/attachment.cgi?id=145572&action=edit
package log output

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#11 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=111848

--- Comment #11 from Martin Jørgensen <[email protected]> --- Created attachment 145573
--> https://bugs.freedesktop.org/attachment.cgi?id=145573&action=edit
uname -a output

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#12 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=111848

--- Comment #12 from Martin Jørgensen <[email protected]> --- Created attachment 145574
--> https://bugs.freedesktop.org/attachment.cgi?id=145574&action=edit
Xorg log

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#13 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=111848

--- Comment #13 from [email protected] ---
Can confirm this problem on

kernel-5.2.17-200.fc30
kernel-5.2.9-200.fc30
kernel-5.2.5-200.fc30
kernel-5.3.1-150.vanilla.knurd.1.fc30

Suspend & resume work flawlessly on

kernel-4.20.16-200.fc29

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#15 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=111848

--- Comment #15 from [email protected] ---
Is there a Fedora workflow for bisecting?
Also, do I need to take care of any GPU firmware or is it just the kernel?

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#16 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=111848

--- Comment #16 from Alex Deucher <[email protected]> --- (In reply to me from comment #15)

Quoted 2 lines

Is there a Fedora workflow for bisecting?
Also, do I need to take care of any GPU firmware or is it just the kernel?

Don't worry about the firmware, just the kernel is fine. Here's a bisect howto tailored to fedora:
https://fedoraproject.org/wiki/User:Ignatenkobrain/Kernel/Bisection

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#17 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=111848

--- Comment #17 from [email protected] ---
The kernel-package.py script is broken.
I'll build kernels directly.
Git bisect says approximately 13 steps are required between v4.20 and v5.0. Will report back in ~14 days when that's done (bug manifests only after some uptime).

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#18 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=111848

--- Comment #18 from [email protected] ---
Bisection turns out to be harder than anticipated because there is another bug that makes the system freeze on suspend (not reported yet).

Anyways, this seems to be a duplicate of
https://bugs.freedesktop.org/show_bug.cgi?id=111729#c7

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#19 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=111848

--- Comment #19 from [email protected] ---
Potential fix (and kernel Bugzilla bug):
https://bugzilla.kernel.org/show_bug.cgi?id=204241

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#20 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=111848

Martin Peres <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

         Resolution|---                         |MOVED
             Status|NEW                         |RESOLVED

--- Comment #20 from Martin Peres <[email protected]> --- -- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/drm/amd/issues/923.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel